home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6319 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.dfn.de!si-nic!usenet
  2. From: Markus Becker <becker@zess.uni-siegen.de>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: LPCREATESTRUCT
  5. Date: Thu, 08 Feb 1996 15:08:36 +0100
  6. Organization: ZESS, Uni-GH-Siegen
  7. Message-ID: <311A03E4.53C6@zess.uni-siegen.de>
  8. References: <4f8qum$cck@guitar.sound.net>
  9. NNTP-Posting-Host: becker.zess.uni-siegen.de
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. chris wrote:
  16. > I am unable to determine what lpcreatestruct in doing in the following
  17. > line of code.  It is in a windows procedure, within the code that is
  18. > executed during the processing of the wm_create message.
  19. > hInstance = ((LPCRETESTRUCT) lParam) -> hInstance;                LPCREATESTRUCT
  20.  
  21. is a long pointer to a CREATESTRUCT, wich describes the
  22. window being created.
  23.  
  24. The (LPCREATESTRUCT) in your code above casts the lParam
  25. to a LPCREATESTRUCT, so that the contents of this pointer
  26. (struct CREATESTRUCT) are acessible.
  27.   
  28. > Also, do you know where I might find this in the online documentation
  29. > for the Borland Compiler (version 4.2).
  30.  
  31. You should start to search in the help for Windows message processing.
  32. --
  33. Markus Becker                
  34. http://www.zess.uni-siegen.de/private/becker/
  35. Zentrum fuer Sensorsysteme (ZESS)
  36. http://www.zess.uni-siegen.de/private/becker/win95
  37.